package com.itheima.service;

import com.itheima.pojo.Category;

import java.util.List;

public interface CategoryService {

    public List<Category> findByParentId(Integer parentId);

    public List<Category> findAll();

    public List<Category> findCategoryWithLevel();

    public Category findById(Integer id);

    Boolean deleteById(Integer id);

    Boolean insertCategory(Category category);

    Boolean updateCategory(Category category);
}
